package com.twd.nio;

import java.io.IOException;
import java.net.InetSocketAddress;
import java.nio.channels.SelectionKey;
import java.nio.channels.Selector;
import java.nio.channels.ServerSocketChannel;

public class MyServerChild {
    ServerSocketChannel server ;
    Selector select ;

    public MyServerChild(int port) throws IOException {
        select = Selector.open();
        server = ServerSocketChannel.open();
        server.configureBlocking(false);
    }
}
